//
//  Member.m
//  MyKara
//
//  Created by Buffalo on 1/30/15.
//  Copyright (c) 2015 Buffalo. All rights reserved.
//

#import "Member.h"
#import "AppDefine.h"
@implementation Member
- (id)initMemberInArray:(NSArray *)memberList atIndex:(NSInteger)index {
    self = [super init];
    if (self) {
        NSDictionary *member = [memberList objectAtIndex:index];
        self.name = [member objectForKey:KEY_MEMBERS_NAME];
        self.avatar = [UIImage imageNamed:[member objectForKey:KEY_MEMBERS_AVATAR]];
    }

    return self;
}
@end
